#include <stdio.h>
#include <stdint.h>
#include "log.h"

uint32_t SystemHeartbeat = 1234567890 , num = 123;

int main(void)
{
    LOG_D("num = %d" , num) ; SystemHeartbeat ++ ;
    LOG_I("num = %d" , num) ; SystemHeartbeat ++ ;
    LOG_W("num = %d" , num) ; SystemHeartbeat ++ ;
    LOG_E("num = %d" , num) ; SystemHeartbeat ++ ;
    LOG_F("num = %d" , num) ; SystemHeartbeat ++ ;

    log_set_level(2) ; num = 456 ; SystemHeartbeat ++ ;

    LOG_D("num = %d" , num) ; SystemHeartbeat ++ ;
    LOG_I("num = %d" , num) ; SystemHeartbeat ++ ;
    LOG_W("num = %d" , num) ; SystemHeartbeat ++ ;
    LOG_E("num = %d" , num) ; SystemHeartbeat ++ ;
    LOG_F("num = %d" , num) ; SystemHeartbeat ++ ;

    return 0 ;
}